package org.szrcb.temu.SalesManage.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

@Mapper
public interface LoginDao {

    @Update("UPDATE user_token SET access_token = #{token} WHERE user_id = #{userId}")
    void updateToken(@Param("userId") String userId, @Param("token") String token);
}
